//按钮点击事件
import { base, ajax, toast, print, output, printer, getBusinessInfo, cardCache } from 'nc-lightapp-front';
import api from '../../../common/api';
import config from '../config';
const { setDefData } = cardCache;

export default function (props, key, text, record, index) {
    switch (key) {
        case 'table_create':
            props.pushTo(`/card?bxdpk=${record.pk_jkbx.value}`, {
                status: 'add',
                bxdpk: record.pk_jkbx.value
            });
            break;

        default:
            break;
    }
}
